package cn.lingyangwl.agile.pay.common.mapper;

import cn.lingyangwl.agile.pay.model.entity.RefundOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author shenguangyang
 */
@Mapper
public interface RefundOrderMapper extends BaseMapper<RefundOrder> {
    /**
     * 查询全部退成功金额
     */
    BigDecimal sumSuccessRefundAmount(@Param("payOrderNo") String payOrderNo);
}
